//
//  main.h
//  Android jni
//
//  Created by Zhaoyi on 12-9-19.
//  Copyright (c) 2012年 HappyBluefin. All rights reserved.
//

#ifndef _Main_H_
#define _Main_H_

#include <jni.h>

extern "C"
{
void showLeaderBoard(const char* boardName);
void reportScore(const char* boardName, int score);

void shareText(const char* text);

void gotoUrl(const char* url);

const char* getAndroidLocalizedString(const char* index);

bool isChinese();
const char* getCountryCode();
const char* getLanguageCode();

int umengGetParamValue(const char* name);
void umengCustomEvent(const char* name, const char* value);

void openAdsMogoOffer();
void exitApplication();

void gotoReview();

JNIEXPORT jstring JNICALL Java_com_happybluefin_tapburstfree_application_TapBurstFreeApplication_getScoreLoopSecretID(JNIEnv *env, jclass cls);
JNIEXPORT jstring JNICALL Java_com_happybluefin_tapburstfree_application_TapBurstFreeApplication_getAdmobUnitID(JNIEnv *env, jclass cls);
}

#endif // _Main_H_
